<nav class="navbar navbar-default navbar-fixed-top nav_bg">
    <div class="container">
        <div class="navbar-header">
            <a href="{:url('index/index')}" class="navbar-brand logo"><img src="{$skin}img/logo.png" alt="{$webname}"></a>
            <button type="button" class="navbar-toggle white" data-toggle="collapse" data-target="#nav_list">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
        </div>
        <div class="collapse navbar-collapse" id="nav_list">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="{:url('index/index')}"><span class="glyphicon glyphicon-home"></span> 首页</a></li>
                <li><a href="{:url('game/index')}"><span class="glyphicon glyphicon-th-large"></span> 游戏乐园</a></li>
                {if $info.usersid > 0}
                <li><a href="{:url('users/index')}"><span class="glyphicon glyphicon-user"></span> 会员</a></li>
                <li><a href="{:url('users/out')}"><span class="glyphicon glyphicon-off"></span> 退出</a></li>
                {/if}
            </ul>
        </div>
    </div>
</nav>